/*
 * $Id: HstSystemContactLogs.java,v 1.5 2009/12/21 16:00:22 navdeep_mahajan Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

/*
 * Created Wed May 13 09:19:29 CDT 2009 by MyEclipse Hibernate Tool.
 */ 
package com.ge.healthcare.autosc.common.database.pojo;

import java.io.Serializable;

/**
 * A class that represents a row in the 'HST_SYSTEM_CONTACT_LOGS' table. 
 * This class may be customized as it is never re-generated 
 * after being created.
 */
public class HstSystemContactLogs
    extends AbstractHstSystemContactLogs
    implements Serializable
{
	/**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 5744030823621694211L;
	public static final String TABLE_NAME = "com.ge.healthcare.autosc.common.database.pojo.HstSystemContactLogs";
	public static final String COL_SYSTEM_CONTACT_LOGS_ID = "systemContactLogId";
	public static final String COL_SYSTEM_CONTACT_INFO_ID = "hstSystemContactInfo";
	private static final int CONTACT_LOG_MAX_LENGTH = 4000;
	
    /**
     * Simple constructor of HstSystemContactLogs instances.
     */
    public HstSystemContactLogs()
    {
    	super();
    }

    /**
     * Constructor of HstSystemContactLogs instances given a simple primary key.
     * @param systemContactLogId
     */
    public HstSystemContactLogs(java.lang.Long systemContactLogId)
    {
        super(systemContactLogId);
    }

    /* Add customized code below */
    public String toString(){
		StringBuffer definiton = new StringBuffer();
		definiton.append("{ID=").append(this.getSystemContactLogId()).append("},")
				 .append("{Log Text=").append(this.getContactLogText()).append("}");
		return definiton.toString();
	}	
    
	public int getMaxLogLength(){
		return CONTACT_LOG_MAX_LENGTH;
	}    
}
